package com.soup.lab.third.token;

import java.util.Map;

/**
 * 鉴权配置
 */
public class TokenAuth {
    private final String key;
    private final String secret;
    private final Map<String, String> ext;

    public TokenAuth(String key, String secret, Map<String, String> ext) {
        this.key = key;
        this.secret = secret;
        this.ext = ext;
    }

    public String getKey() {
        return key;
    }

    public String getSecret() {
        return secret;
    }

    public Map<String, String> getExt() {
        return ext;
    }

    @Override
    public String toString() {
        return "TokenAuth{" +
                "key='" + key + '\'' +
                ", secret='" + secret + '\'' +
                '}';
    }
}
